import {http} from '@/utils/http'
 
// 添加系统轮播图
export function addSysBanner(data:any) {
  return http.post<any>('/admin/sysBanner/addSysBanner', data)
}
 
// 修改系统轮播图
export function updateSysBanner(data:any) {
  return http.post<any>('/admin/sysBanner/updateSysBanner', data)
}
 
// 删除系统轮播图
export function deleteSysBanner(id:string) {
  return http.post<any>('/admin/sysBanner/deleteSysBanner/'+id)
}
 
// 获取系统轮播图详情
export function getSysBanner(id:any) {
  return http.post<any>('/admin/sysBanner/getSysBanner/'+id)
}
 
// 获取系统轮播图分页列表
export function getSysBannerPage(data:any) {
  return http.post<any>('/admin/sysBanner/getSysBannerPage', data)
}